import ownerModel from '../common/ownerModel';
import stat from '../common/stat';

export default class getFavouriteBoxsVideoModel {
  code: number;
  message: string;
  ttl: number;
  data: getFavouriteBoxsVideo;
}

export class getFavouriteBoxsVideo {
  seid: string;
  page: number;
  pageSize: number;
  pageCount: number;
  total: number;
  suggest_keyword: string;
  mid: number;
  fid: number;
  tid: number;
  order: string;
  keyword: string;
  archives: Array<favouriteBoxsVideoItem>;
}

export class favouriteBoxsVideoItem {
  aid: number;
  videos: number;
  tid: number;
  tname: string;
  copyright: string;
  pic: string;
  title: string;
  pubData: number;
  ctime: number;
  desc: string;
  state: number;
  attribute: number;
  duration: number;
  mission_id: number;
  rights: right;
  owner: ownerModel;
  stat: stat;
  dynamic: string;
  cid: number;
  dimension: Object;
  fav_at: number;
  play_num: string;
  highlight_title: string;
}

export class right {
  bp: number;
  elec: number;
  download: number;
  movie: number;
  pay: number;
  hd5: number;
  no_reprint: number;
  autoplay: number;
  ugc_pay: number;
  is_cooperation: number;
  ugc_pay_preview: number;
}